package com.tensquare.entity;

public class StatusCode {
    public static final int OK=20000;//成功
    public static final int ERROR =20001;//失败

    public static final int ACCESSERROR =30003;//权限不足

    public static final int REMOTEERROR =40004;//远程调用失败

    public static final int REPERROR =50005;//重复操作

    public static final int LOGINERROR =60002;//用户名或密码错误
    public static final int USERREGISTERED =60003;//账号已被注册

    public static final int CAPTCHA_EXPIRED = 7001;//验证码过期
    public static final int CAPTCHA_ERROR = 7002;//验证码错误
    public static final int CAPTCHA_IS_NULL = 7003;//验证码为空
    public static final int PARAMS_IN_ERROR = 7004;//入参异常
    public static final int PARAMS_OUT_ERROR = 7005;//出参异常

    public static final int USER_TOKEN_ERROR = 8000;//token错误
    public static final int USER_TOKEN_EXPIRED = 8001;//token过期
}
